﻿<%@ Page Language="C#" MasterPageFile="~/Teacher.Master" AutoEventWireup="true" CodeBehind="TeacherGradeEdit.aspx.cs" Inherits="ScoreManage.TeacherGradeEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <table style="width:100%">
    <tr>
      <td style="font-family:黑体; font-size:26px; height:40px; text-align:center;">
        修改学生成绩
      </td>
    </tr>
    <tr>
      <td>
        <table style="width:600px;" align="center">
          <tr>
            <td style="width:85px">课程号：</td>
            <td style="width:208px"><asp:TextBox ID="txtCno" runat="server" Height="22px" Width="200px" Enabled="false"></asp:TextBox></td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCno" Display="Dynamic" ErrorMessage="请输入课程号！" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
          </tr>

          <tr>
            <td>课程名：</td>
            <td><asp:TextBox ID="txtCname" runat="server" Height="22px" Width="200px" Enabled="false"></asp:TextBox></td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtCname" Display="Dynamic" ErrorMessage="请输入课程名！" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
          </tr>
          
          <tr>
            <td style="width:85px">学号：</td>
            <td style="width:208px"><asp:TextBox ID="txtSno" runat="server" Height="22px" Width="200px" Enabled="false"></asp:TextBox></td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSno" Display="Dynamic" ErrorMessage="请输入学号！" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
          </tr>
          
          <tr>
            <td style="width:85px">姓名：</td>
            <td style="width:208px"><asp:TextBox ID="txtSname" runat="server" Height="22px" Width="200px" Enabled="false"></asp:TextBox></td>
            <td>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtSname" Display="Dynamic" ErrorMessage="请输入姓名！" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
          </tr>

          <tr>
            <td style="width:85px">成绩：</td>
            <td style="width:208px"><asp:TextBox ID="txtScore" runat="server" Height="22px" Width="200px"></asp:TextBox></td>
            <td>
              <asp:RangeValidator ControlToValidate="txtScore" MinimumValue="0" MaximumValue="100" Type="Double" EnableClientScript="false" Text="成绩在0和100之间！" runat="server" ForeColor="Red" />
            </td>
          </tr>

          <tr style="height:35px">
            <td>&nbsp;</td>
            <td>
              <asp:Button ID="btnOK" runat="server" Text="提交" CausesValidation="true" onclick="btnOK_Click" />&nbsp;
              <asp:Button ID="btnReset" runat="server" Text="重置" CausesValidation="false" onclick="btnReset_Click" />&nbsp;
              <asp:Button ID="btnReturn" runat="server" Text="返回" CausesValidation="true" onclick="btnReturn_Click" />
            </td>
            <td>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</asp:Content>
